package org.dromara.xhlj.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import org.dromara.starter.jpacomment.annotation.SailColumn;
import org.dromara.starter.jpacomment.annotation.SailIndex;
import org.dromara.starter.jpacomment.annotation.SailTable;
import org.dromara.starter.jpacomment.enums.IndexType;
/**
 * 活动议程对象 xhlj_activity_agenda
 *
 * @author yf
 * @date 2024-07-28
 */

@Data
@TableName("xhlj_activity_agenda")
@Entity
@Table(name = "xhlj_activity_agenda")
@SailTable(comment = "活动议程表", indexs = {})
public class XhljActivityAgenda implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    public static final String TRANS_ID_TO_VO = "xhlj_activityAgenda_vo";
    public static final String TRANS_ID_TO_VO_LIST = "xhlj_activityAgenda_list";
    /**
     * 活动议程id
     */
    @TableId(value = "activity_agenda_id", type = IdType.AUTO)
    @Id
    private Integer activityAgendaId;
    /**
     * 议程环节名称
     */
    @Column(name = "agenda_name")
    @SailColumn(comment = "议程环节名称",type = "varchar(20)", defaultValue = "NULL")
    private String agendaName;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
    @SailColumn(comment = "创建人sys_user（大会管理员/活动负责人）",type = "int", defaultValue = "NULL")
    @Column(name = "create_by")
    private Integer createBy;
    /**
     * 活动ID
     */
    @SailColumn(comment = "活动ID",type = "int", defaultValue = "NULL")
    @Column(name = "activity_id")
    private Integer activityId;
    /**
     * 议程开始时间
     */
    @Column(name = "agenda_start_time")
    @SailColumn(comment = "议程开始时间",type = "timestamp", defaultValue = "NULL")
    private Date agendaStartTime;
    /**
     * 议程结束时间
     */
    @Column(name = "agenda_end_time")
    @SailColumn(comment = "议程结束时间",type = "timestamp", defaultValue = "NULL")
    private Date agendaEndTime;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "create_time")
    @SailColumn(comment = "创建时间",type = "timestamp", defaultValue = "CURRENT_TIMESTAMP")
    private Date createTime;
    /**
     * 删除标志
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "del_flag")
    @SailColumn(comment = "删除标志",type = "char(1)", defaultValue = "0")
    private String delFlag;
}
